<template>
  <div class="page">
    <div class="box">
      <div style="margin-bottom: 77px;">
        <div class="title1">登录注册></div>
        <div class="title2">选择身份></div>
        <div class="title3">选择地区和年级</div>
      </div>
      <div class="u-text-center" style="margin-bottom: 93px;">
        <div class="title">请完善您的学习信息</div>
      </div>
      <div class="input-box">
        <div class="input-lable">年级</div>
        <a-select
          v-model:value="form.a"
          style="width: 605px;"
          placeholder="请选择"
        >
          <a-select-option value="一年级">一年级</a-select-option>
          <a-select-option value="二年级">二年级</a-select-option>
        </a-select>
      </div>
      <div class="input-box" style="margin-bottom: 102px;">
        <div class="input-lable">地区</div>
        <a-select
          v-model:value="form.b"
          style="width: 605px;"
          placeholder="请选择"
        >
          <a-select-option value="吉林市">吉林市</a-select-option>
          <a-select-option value="长春市">长春市</a-select-option>
        </a-select>
      </div>
      <div class="tips">
        <img src="@/assets/images/studyTips.png" alt="">
        <span>接下来您将进行一次测试，预估用时30min。</span>
      </div>
      <a><div class="btn" @click="router.push('/StudyTest')">立即前往</div></a>
    </div>
  </div>
</template>

<script setup lang="ts">
import { ref, reactive } from 'vue'
import { useRouter } from 'vue-router'

const router = useRouter()
const form = ref({})

</script>

<style lang="scss" scoped>
.page {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  padding: 10vh 20px;
  background-color: #F5F6F8;
  .box {
    width: calc(100vw - 280px);
    border-radius: 6px;
    background: #FFF;
    padding: 24px 76px 128px;
    .title1 {
      display: inline-block;
      padding: 12px;
      color: #FFF;
      font-size: 20px;
      background-color: #6F55FF;
      position: relative;
      margin-right: 33px;
      z-index: 0;
      &::after {
        content: '';
        width: 33px;
        height: 33px;
        background-color: #6F55FF;
        position: absolute;
        z-index: -1;
        top: 50%;
        right: 0;
        transform: translateY(-50%) translateX(50%) rotate(45deg);
      }
    }
    .title2 {
      display: inline-block;
      padding: 12px;
      color: #FFF;
      font-size: 20px;
      background-color: #FF8E46;
      position: relative;
      margin-right: 33px;
      &::after {
        content: '';
        width: 33px;
        height: 33px;
        background-color: #FF8E46;
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%) translateX(50%) rotate(45deg);
      }
    }
    .title3 {
      display: inline-block;
      padding: 12px;
      color: #FFF;
      font-size: 20px;
      background-color: #97E16C;
      position: relative;
      margin-right: 33px;
      &::after {
        content: '';
        width: 33px;
        height: 33px;
        background-color: #97E16C;
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%) translateX(50%) rotate(45deg);
      }
    }
    .title {
      display: inline-block;
      line-height: 50px;
      position: relative;
      color: #000;
      text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.25);
      font-family: "PingFang SC";
      font-size: 36px;
      position: relative;
      z-index: 0;
      margin-bottom: 75px;
      &::before {
        content: '';
        position: absolute;
        left: 20px;
        bottom: 0;
        width: 100%;
        height: 20px;
        border-radius: 100px;
        background: rgba(111, 85, 255, 0.80);
        z-index: -1;
      }
    }
    .input-box {
      width: 680px;
      margin: 0 auto 26px;
      display: flex;
      align-items: center;
      .input-lable {
        font-size: 20px;
        margin-right: 33px;
      }
      & :deep(.ant-select-selector) {
        height: 70px;
      }
      & :deep(.ant-select-selection-item) {
        line-height: 70px;
        font-size: 18px;
      }
      & :deep(.ant-select-selection-placeholder) {
        color: #818181;
        line-height: 70px;
        font-size: 18px;
      }
    }
    .tips {
      display: flex;
      justify-content: center;
      align-items: center;
      color: #FF6400;
      font-size: 20px;
      margin-bottom: 86px;
      img {
        width: 30px;
        height: auto;
        margin-right: 16px;
      }
    }
    .btn {
      width: 300px;
      height: 60px;
      line-height: 60px;
      border-radius: 100px;
      background: #6F55FF;
      margin: 0 auto;
      color: #FFF;
      font-size: 20px;
      text-align: center;
    }
  }
}
</style>